package com.poetry.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.poetry.domain.po.History;
import com.poetry.exception.R;

import java.util.List;

public interface IHistoryService extends IService<History> {
    R<String> addHistory(Integer id);

    R<List<History>> queryHistory(Integer limit);

    R<String> clearHistory();
}
